Reserved Graph Grammar: A Specification Tool for Diagrammatic VPLs

نویسندگان

  • Da-Qian Zhang
  • Kang Zhang
چکیده

When implementing textual languages, formal grammars are commonly used to facilitate understanding languages and creating parsers. In the implementation of a diagrammatic visual programming language (VPL), this rarely happens, though graph grammars with their well– established theoretical background may be used as a natural and powerful syntax–definition formalism. Yet all graph grammar parsing algorithms presented up to now are either unable to recognize interesting visual languages or tend to be hopelessly inefficient (with exponential time complexity) when applied to graphs with a large number of nodes and edges. This paper presents a context–sensitive graph grammar called reserved graph grammar, which can explicitly, efficiently and completely describe the syntax of a wide range of diagrams using labeled graphs. Moreover, its parsing algorithm is of polynomial time complexity in most cases.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Visual Language Semantics Specification in the VisPro System

VisPro is a general-purpose visual language generation system, which can produce a wide range of diagrammatic visual programming languages (VPLs) based on Reserved Graph Grammar (RGG), a context sensitive graph grammar. This paper presents an approach to specify the semantic execution sequence of VPLs based on VisPro. In this approach, we use an ordering mechanism to facilitate the parsing form...

متن کامل

VisPro: A Visual Language Generation Toolset

The implementation of visual programming languages (VPLs) and their supporting environments is time–consuming and tedious. To ease the implementation, researchers have developed some high level tools, which can greatly reduce the effort of developing VPLs. None of them, however, can be easily used to create a complete visual language in a seamless way like the lex/yacc tools for textual languag...

متن کامل

Using Graph Grammer to Implement Global Layout for a Visual Programming Language Generation System

VisPro is a general-purpose visual language generation system based on Reserved Graph Grammar (RGG). It can express a wide range of diagrammatic visual programming languages (VPLs). This paper presents a global layout approach used in the VisPro system. Our approach is grammar-based graph drawing, in which layout rules are embedded in the productions of RGG. Thus, the RGG formalism serves both ...

متن کامل

Compiled Visual Programs by VisPro

VisPro is a general-purpose visual language generation system based on Reserved Graph Grammar (RGG). It is also the execution environment of visual programming languages (VPLs) developed under the VisPro system. However, due to the lack of compilation facilities, VisPro could only generate simple interpreted VPLs. We have developed a compilation mechanism for VisPro to implement compiled visual...

متن کامل

Establishing Design Principles for Diagrammatic VPLs

This poster describes research which resulted in a checklist and design principles for diagrammatic visual programming languages (VPLs) based on empirical data collected through a series of controlled experiments and a qualitative-naturalistic inquiry.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997